import Cookies from 'js-cookie'

const TokenKey = 'Admin-Token'
const TokenDKYKey = 'Admin-Token_eLab_LIMP'
const RoleDKYKey = 'Roles_eLab_LIMP'

export function getToken() {
  return Cookies.get(TokenKey)
}

export function setToken(token) {
  return Cookies.set(TokenKey, token)
}

export function removeToken() {
  return Cookies.remove(TokenKey)
}


export function setTokenDKY(token) {
  return Cookies.set(TokenDKYKey, token)
}
export function removeTokenDKY() {
  return Cookies.remove(TokenDKYKey)
}
export function setRoleDKY(token) {
  return Cookies.set(RoleDKYKey, token)
}
export function removeRoleDKY() {
  return Cookies.remove(RoleDKYKey)
}
